<?php
/* ****************************EA Improved TEMPLATE*******************************
File:					objshort.php
EstateAgent Improved - a Joomla Component
Template:			clasic
Copyright:			2007 Manos Orfanoudakis - "vosk"
Homepage: 		http://www.eaimproved.eu
Version: 			1.1 for EA imp > 1.3.3                  
License:			GNU/GPL http://www.gnu.org/copyleft/gpl.html
*************************************************************************** */// no direct access

// no direct access
defined( '_VALID_MOS' ) or die( 'Restricted access' );
	
	$pic = EAImage::load_firstPic($obj->id, $eaconf->ea_picpath, $eaconf->ea_tbwidth);
	$href= sefRelToAbs(ampReplace("index.php?option=com_estateagent&Itemid=$Itemid&act=object&task=showEO&id=".$obj->id));
?>
  
<tr>
    <td width="100%" style="padding:2px" >
		<table cellspacing="2" cellpadding="2" width="100%" style="border: solid 1px #BEB9AF; padding:1px" >
  			<tr class="sectiontableentry<?php echo (($line%2)+1) ?>">
     			<td  colspan="2" width="100%" height="20">
					<div style="width:88%; float:left">
						<a href="<?php echo $href ?>"><b><?php echo $obj->obj_id."&nbsp;&nbsp;" .mosEAHTML::arrowIcon()."&nbsp;&nbsp;". $obj->title ;?></b></a>
						<?php EA_Template::FastEditBtn($obj); ?>
					</div>
					<div style="width:10%; text-align:right; vertical-align:middle; float:right" >
						<?php if(@$obj->hot==1 &&$showhot==1 ){ ?>
									<img src="components/com_estateagent/pictures/gui/hot.gif" alt="Hot Offer!!" border="0"/>
						<?php } ?>  
					</div>
				</td>
			</tr>
			<tr>
				<td style="text-align:left; width:110px; vertical-align:top">
					<div style="border:1px solid #BEB9AF; padding:2px">
	   					<a href="<?php echo $href?>"><?php echo $pic ?></a>
					</div>
				</td>
				<td  width="100%" >
					<?php echo $eahelper->substring($obj->description,150);?>
				</td>
			</tr>
			<tr class="sectiontableentry<?php echo (($line%2)+1) ?>">
				<td style="text-align:center; width:110px; vertical-align:top">
					<?php if($obj->type == 1 || $obj->type == 3) echo  _EA_OBJ_RENT . ": " .$eahelper->valformat( $obj->rent );
						else  echo _EA_OBJ_PRICE . ": " . $eahelper->valformat($obj->price);?>
				</td>
				<td style="text-align:right"><?php echo EAObject::parseShortInfo($obj);?></td>
			</tr>
		</table>
	</td>
</tr>
<tr style="height:2px"><td></td></tr>